//
//  ZQTools.h
//  chongwu
//
//  Created by 隼目 on 2021/9/16.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZQTools : NSObject
#pragma mark———————————————— 计算文字高度
+ (CGSize)getNSStringSize:(NSString *)string andViewWight:(CGFloat)weight andFont:(NSInteger)font;

#pragma mark———————————————— 跳转 push;
+ (void)pushRootViewController:(UIViewController *)RootViewController andNextController:(UIViewController *)nextVc;

#pragma mark————————————————判断字符是否为空
+(BOOL)charIsNil:(NSString *)str;

#pragma mark————————————————nsdate 转 时间搓
+ (NSString *)NSDateToTimeCuo:(NSDate *)date;
#pragma mark——————————————————NSString转NSDate (年月日)
+ (NSDate *)NSStringToNSDate:(NSString *)DateFormat : (NSString *)dateStr;
#pragma mark——————————————转换时间锉 传入时间锉字符串  得到解析后的字符串
+ (NSString *)changeTimeCuo: (NSString *)DateFormat : (NSString *)time;
#pragma mark——————————————当前时间格式
+(NSString *)changeTimeCuo: (NSString *)DateFormat;

#pragma mark————————svp提醒
+ (void)svpInfo:(NSString *)title;
//手机号码
+ (BOOL)isMobileNumber:(NSString *)mobileNum;

@end

NS_ASSUME_NONNULL_END
